<?php

	session_start();
	require_once('../inc/fnc.php');
	
	if(isset($_GET['muid'])){
		$query = "UPDATE `msgtable` SET `delflag` = 1 WHERE id = {$_GET['muid']} LIMIT 1";
		$result = mysql_query($query);
		if($result){
			$return['status'] = true;
		} else {
			$return['status'] = false;
		}
	} else {
		$return['status'] = false;
	}

	echo json_encode($return);

?>